const path = require("path");
function resolve(dir) {
    return path.join(__dirname, dir);
}
/** 别名 @ 配置：https://www.cnblogs.com/ygyy/p/12792545.html */
//@配成功了，assets没配成功
module.exports = {
    chainWebpack: config => {
        config.resolve.alias
            .set("@", resolve("src"))
            .set("assets", resolve("src/assets"))
    },
}